﻿namespace Minotaur.App.Domains.Model.Resouces
{

    /// <summary>
    /// 资源数据
    /// </summary>
    [SugarTable("ResoucesInfo")]
    public class ResoucesInfo : EntityBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(ColumnName = "autoid", IsIdentity = true, IsPrimaryKey = true)]
        public virtual long Autoid { get; set; }

        /// <summary>
        /// 菜单编码
        /// </summary>
        [SugarColumn(ColumnName = "menucode")]
        public virtual string? MenuCode { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        [SugarColumn(ColumnName = "isenable")]
        public virtual bool IsEnable { get; set; }

        /// <summary>
        /// 资源类型
        /// </summary>
        [SugarColumn(ColumnName = "resoucestype")]
        public virtual string? Resoucestype { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SugarColumn(ColumnName = "isdelete")]
        public virtual bool IsDelete { get; set; }

        /// <summary>
        /// 资源编码
        /// </summary>
        [SugarColumn(ColumnName = "rescode")]
        public virtual string? ResCode { get; set; } 
    }
}
